package com.pet.article.feign;

import com.pet.model.common.dtos.ResponseResult;
import com.pet.model.user.pojos.ApUserArticle;
import com.pet.model.user.pojos.ApUserFollow;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(name = "pet-user", path = "/api/v1/apUserArticle", contextId = "apUserArticle")
public interface ApUserArticleFeign {
    @PostMapping("/save")
    public ResponseResult<ApUserArticle> save(@RequestBody ApUserArticle record);

    //更新数据
    @PutMapping("/update")
    public ResponseResult update(@RequestBody ApUserArticle record);

    @PostMapping("/delete")
    public ResponseResult delete(@RequestBody ApUserArticle record);
}
